import axios from "./axios";

export function getDjCatelist() {
  return axios({
    url: "/dj/catelist",
  });
}

export function getProgramRecommend() {
  return axios({
    url: "/program/recommend",
  });
}

export function getProgramToplist(limit, offset) {
  return axios({
    url: "/dj/program/toplist",
    params: {
      limit,
      offset,
    },
  });
}
export function getDjRadioRecommend(type) {
  return axios({
    url: "/dj/recommend/type",
    params: {
      type,
    },
  });
}
export function getDjRadioHot(cateId, limit, offset) {
  return axios({
    url: "/dj/radio/hot",
    params: {
      cateId,
      limit,
      offset,
    },
  });
}
